package com.beiming.moudle.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.beiming.moudle.auth.entity.CustomerUserEntity;

public interface CustomerUserService extends IService<CustomerUserEntity> {
    int getUserStatus(int id);
    int updateCustomerStatus(CustomerUserEntity customerUserEntity);
    CustomerUserEntity findByUsername(String username);
    String createToken(CustomerUserEntity user);
    void logout(String token);
    CustomerUserEntity findByToken(String token);
    int addCustomerUser(CustomerUserEntity customerUserEntity);
}
